/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author:  LiuTao
 * Version: 1.0
 * Date:    2023-05-01  11:03
 */
class Dog {
    public String name;
    public int age;
    public String color;

    public void eat() {
        System.out.println("吃东西！");
    }

    public void drink() {
        System.out.println("吃东西!");
    }
}
public class Test2 {
    public static void main(String[] args) {
        Dog dog = new Dog();
        dog.name = "陆叁柒";
        dog.age = 10;
        dog.color = "白色";

        System.out.println(dog.name);
        System.out.println(dog.age);
        System.out.println(dog.color);
    }
}
